import React, { FC, ReactNode } from 'react'

import css from './index.less'

export const My = (
  <svg
    t="1719846148961"
    className="icon"
    viewBox="0 0 1024 1024"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    p-id="9696"
    width="16"
    height="16"
  >
    <path
      d="M895.2 960.8H154.4c-70.4 0-128-56.8-128-128v-76.8c0-127.2 103.2-229.6 229.6-229.6h144.8C315.2 484.8 256 397.6 256 296.8c0.8-140.8 115.2-255.2 256-255.2s255.2 114.4 255.2 255.2c0 101.6-59.2 188.8-144.8 229.6h144.8c127.2 0 229.6 103.2 229.6 229.6v102.4c0.8 56.8-45.6 102.4-101.6 102.4z m-229.6-664C665.6 212.8 596.8 144 512 144s-153.6 68.8-153.6 153.6S427.2 450.4 512 450.4s153.6-68.8 153.6-153.6z m229.6 460c0-70.4-56.8-128-128-128H256.8c-70.4 0-128 56.8-128 128v51.2c0 28 23.2 51.2 51.2 51.2h664c28 0 51.2-23.2 51.2-51.2v-51.2z"
      p-id="9697"
      fill="#515151"
    ></path>
  </svg>
)

export const Cooperation = (
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
    <g fill="none" fill-rule="evenodd">
      <circle
        stroke="currentcolor"
        stroke-width="1.5"
        cx="12"
        cy="12"
        r="3.75"
      ></circle>
      <path
        d="M4.941 7.265l-.072.107A8.5 8.5 0 0015.6 19.702c.147.502.447.94.847 1.257A9.953 9.953 0 0112 22C6.477 22 2 17.523 2 12c0-2.146.676-4.135 1.827-5.764.255.448.645.81 1.114 1.03zM12 2c5.523 0 10 4.477 10 10a9.954 9.954 0 01-1.827 5.764 2.505 2.505 0 00-1.114-1.03A8.5 8.5 0 008.399 4.298a2.498 2.498 0 00-.846-1.256A9.953 9.953 0 0112 2z"
        fill="currentcolor"
        fill-rule="nonzero"
      ></path>
      <circle
        stroke="currentcolor"
        stroke-width="1.5"
        cx="6"
        cy="5"
        r="1.75"
      ></circle>
      <circle
        stroke="currentcolor"
        stroke-width="1.5"
        cx="18"
        cy="19"
        r="1.75"
      ></circle>
    </g>
  </svg>
)

export const UserGroup = (
  <svg
    data-testid="persons-2-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 15 13.5"
    className="sc-qamJO dDtmkd"
  >
    <g fill="currentColor">
      <path
        d="M4.5 8.5c1.114 0 2.124.386 2.855 1.017.702.607 1.145 1.443 1.145 2.372-.328.437-.589.567-.9.679-.816.292-1.959.432-3.1.432s-2.284-.14-3.1-.432c-.311-.112-.572-.242-.746-.405-.154-1.203.289-2.039.991-2.646C2.375 8.886 3.386 8.5 4.5 8.5zm0-6c.552 0 1.052.224 1.414.586.362.362.586.862.586 1.414 0 .552-.224 1.052-.586 1.414A1.994 1.994 0 014.5 6.5a1.994 1.994 0 01-1.414-.586A1.994 1.994 0 012.5 4.5c0-.552.224-1.052.586-1.414A1.994 1.994 0 014.5 2.5z"
        fill-opacity="0.15"
      ></path>
      <path d="M4.5 8C6.985 8 9 9.741 9 11.89c0 1.032-2.08 1.568-4.24 1.608l-.26.002c-2.25 0-4.5-.537-4.5-1.61 0-2.084 1.894-3.784 4.275-3.885L4.5 8zm0 1.5c-1.512 0-2.706.887-2.953 1.973l-.014.071.201.081.127.043c.658.21 1.622.332 2.639.332 1.017 0 1.98-.123 2.639-.332.09-.029.17-.057.239-.086l.088-.038-.013-.07c-.236-1.042-1.343-1.9-2.766-1.97L4.5 9.5zm0-7.5a2.5 2.5 0 01.164 4.995L4.5 7a2.5 2.5 0 01-.164-4.995L4.5 2zm0 1.5a1 1 0 100 2 1 1 0 000-2z"></path>
      <path
        d="M10.5 6.5c1.114 0 2.124.386 2.855 1.017.702.607 1.145 1.443 1.145 2.372-.328.437-.589.567-.9.679-.816.292-1.959.432-3.1.432h-.08c-.278-1.522-1.258-2.81-2.616-3.612l-.159.13C8.375 6.885 9.386 6.5 10.5 6.5zm0-6c.552 0 1.052.224 1.414.586.362.362.586.862.586 1.414 0 .552-.224 1.052-.586 1.414A1.994 1.994 0 0110.5 4.5a1.994 1.994 0 01-1.414-.586A1.994 1.994 0 018.5 2.5c0-.552.224-1.052.586-1.414A1.994 1.994 0 0110.5.5z"
        fill-opacity="0.15"
      ></path>
      <path d="M10.5 6C12.985 6 15 7.741 15 9.89c0 1.032-2.08 1.568-4.24 1.608l-.26.002h-.015a4.91 4.91 0 00-.363-1.507c.124.005.25.007.378.007 1.017 0 1.98-.123 2.639-.332.09-.029.17-.057.239-.086l.088-.038-.013-.07c-.236-1.042-1.343-1.9-2.766-1.97L10.5 7.5a3.46 3.46 0 00-1.837.504 6.038 6.038 0 00-1.337-.871c.763-.657 1.8-1.08 2.95-1.128L10.5 6zm0-6a2.5 2.5 0 01.164 4.995L10.5 5a2.5 2.5 0 01-.164-4.995L10.5 0zm0 1.5a1 1 0 100 2 1 1 0 000-2z"></path>
    </g>
  </svg>
)

/** 共享、交流 */
export const SharedWithAll = (
  <svg
    data-testid="link-library-prism-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 16 16"
    className="sc-qamJO dDtmkd"
  >
    <path
      d="M8.478 5.5a.75.75 0 01.102 1.493L8.478 7h-.254c-.732 0-1.185.098-1.586.312a1.976 1.976 0 00-.826.826c-.19.357-.289.754-.308 1.352l-.004.286c0 .732.098 1.185.312 1.586.192.358.468.634.826.826.357.19.754.289 1.352.308l.234.004h3.552c.732 0 1.185-.098 1.586-.312.358-.192.634-.468.826-.826.19-.357.289-.754.308-1.352l.004-.286c0-.732-.098-1.185-.312-1.586a1.97 1.97 0 00-.666-.731.75.75 0 01.82-1.255 3.47 3.47 0 011.169 1.279c.305.571.457 1.19.484 2.011l.005.334c0 .965-.15 1.658-.49 2.293a3.476 3.476 0 01-1.441 1.442c-.571.305-1.19.457-2.011.484l-.282.005H8.224c-.965 0-1.658-.15-2.293-.49a3.476 3.476 0 01-1.442-1.441c-.305-.571-.457-1.19-.484-2.011L4 9.724c0-.965.15-1.658.49-2.293.33-.62.821-1.11 1.441-1.442.571-.305 1.19-.457 2.011-.484l.282-.005h.254zM7.776 2c.965 0 1.658.15 2.293.49.62.33 1.11.821 1.442 1.441.305.571.457 1.19.484 2.011l.005.334c0 .965-.15 1.658-.49 2.293a3.476 3.476 0 01-1.441 1.442c-.571.305-1.19.457-2.011.484l-.282.005h-.254a.75.75 0 01-.102-1.493L7.522 9h.254c.732 0 1.185-.098 1.586-.312.358-.192.634-.468.826-.826.19-.357.289-.754.308-1.352l.004-.286c0-.732-.098-1.185-.312-1.586a1.976 1.976 0 00-.826-.826c-.357-.19-.754-.289-1.352-.308L7.776 3.5H4.224c-.732 0-1.185.098-1.586.312a1.976 1.976 0 00-.826.826c-.19.357-.289.754-.308 1.352l-.004.286c0 .732.098 1.185.312 1.586.162.303.385.547.666.731a.75.75 0 01-.82 1.255A3.47 3.47 0 01.488 8.57C.184 7.998.032 7.379.005 6.558L0 6.224c0-.965.15-1.658.49-2.293.33-.62.821-1.11 1.441-1.442.571-.305 1.19-.457 2.011-.484L4.224 2h3.552z"
      fill="currentColor"
    ></path>
  </svg>
)

/** 文件夹 */
export const Folder = (
  <svg
    t="1719846390937"
    className="icon"
    viewBox="0 0 1024 1024"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    p-id="21274"
    width="16"
    height="16"
  >
    <path
      d="M841.6 238.4c-9.6-9.6-21.6-14.4-33.6-14.4H432L326.4 118.4c-4-4-9.6-8-15.2-10.4-6.4-2.4-12-4-18.4-4H80c-12 0-24.8 4.8-33.6 14.4S32 140 32 152v712c0 12 4.8 24.8 14.4 33.6S68 912 80 912h728c12 0 24.8-4.8 33.6-14.4 9.6-9.6 14.4-21.6 14.4-33.6V272c0-12-4.8-24.8-14.4-33.6z"
      fill="#FFD766"
      p-id="21275"
    ></path>
    <path
      d="M858.4 877.6c-3.2 9.6-8.8 18.4-17.6 24.8-8.8 6.4-18.4 9.6-28.8 9.6H88.8c-14.4 0-28.8-6.4-38.4-19.2s-12-28.8-7.2-42.4l139.2-464c3.2-9.6 8.8-18.4 17.6-24.8 8.8-6.4 18.4-9.6 28.8-9.6h724c14.4 0 28.8 6.4 38.4 19.2 9.6 12.8 12 28.8 7.2 42.4l-140 464z"
      fill="#FFAC33"
      p-id="21276"
    ></path>
  </svg>
)

/** 我的应用、应用市场 */
export const AppStore = (
  <svg
    data-testid="template-16"
    viewBox="-941 1809 16 16"
    xmlns="http://www.w3.org/2000/svg"
    className="sc-qamJO dDtmkd"
  >
    <defs>
      <clipPath id="template-16_svg__a">
        <path d="M4 0a1 1 0 011 1v4.5a1 1 0 01-1 1H1a1 1 0 01-1-1V1a1 1 0 011-1h3z"></path>
      </clipPath>
    </defs>
    <g
      clip-path="url(#template-16_svg__a)"
      transform="matrix(-1 0 0 1 -926.75 1810.75)"
    >
      <path opacity="0.15" fill="currentColor" d="M0 0h5v6.5H0V0z"></path>
    </g>
    <path
      d="M-927.75 1810.75h-3a1 1 0 00-1 1v4.5a1 1 0 001 1h3a1 1 0 001-1v-4.5a1 1 0 00-1-1z"
      stroke="currentColor"
      stroke-width="1.5"
      fill="none"
      stroke-miterlimit="10"
    ></path>
    <g
      clip-path="url(#template-16_svg__a)"
      transform="matrix(-1 0 0 1 -934.25 1816.75)"
    >
      <path opacity="0.15" fill="currentColor" d="M0 0h5v6.5H0V0z"></path>
    </g>
    <path
      d="M-935.25 1816.75h-3a1 1 0 00-1 1v4.5a1 1 0 001 1h3a1 1 0 001-1v-4.5a1 1 0 00-1-1zm7.5 3h-3a1 1 0 00-1 1v1.5a1 1 0 001 1h3a1 1 0 001-1v-1.5a1 1 0 00-1-1zm-7.5-9h-3a1 1 0 00-1 1v1.5a1 1 0 001 1h3a1 1 0 001-1v-1.5a1 1 0 00-1-1z"
      stroke="currentColor"
      stroke-width="1.5"
      fill="none"
      stroke-miterlimit="10"
    ></path>
  </svg>
)

/** 设置 */
// export const Settings: FC = () => {
//   return (
//     <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
//       <g fill="currentColor" fill-rule="evenodd">
//         <path d="M9.18.5a1 1 0 01.98.804L10.4 2.5c.414.18.804.406 1.162.672l1.157-.391a1 1 0 011.186.447l1.18 2.044a1 1 0 01-.206 1.251l-.916.806a6.066 6.066 0 010 1.342l.916.806a1 1 0 01.206 1.25l-1.18 2.045a1 1 0 01-1.186.447l-1.157-.39a5.994 5.994 0 01-1.161.671l-.24 1.196a1 1 0 01-.98.804H6.82a1 1 0 01-.98-.804l-.24-1.195a5.994 5.994 0 01-1.162-.673l-1.157.391a1 1 0 01-1.186-.447l-1.18-2.044a1 1 0 01.206-1.251l.916-.807a6.066 6.066 0 010-1.34l-.916-.807a1 1 0 01-.206-1.25l1.18-2.045A1 1 0 013.28 2.78l1.157.39A5.994 5.994 0 015.6 2.5l.24-1.195A1 1 0 016.82.5h2.36zM8 6.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z" fill-opacity="0.15"></path><path d="M9.18.5a1 1 0 01.98.804L10.4 2.5c.414.18.804.406 1.162.672l1.157-.391a1 1 0 01.228-.049l.114-.004a1 1 0 01.844.5l1.18 2.044a1 1 0 01-.206 1.251l-.916.806a6.066 6.066 0 010 1.342l.916.806a1 1 0 01.206 1.25l-1.18 2.045a1 1 0 01-.731.491l-.113.009a.998.998 0 01-.342-.053l-1.157-.39a5.994 5.994 0 01-1.161.671l-.24 1.196a1 1 0 01-.98.804H6.82a1 1 0 01-.98-.804l-.24-1.195a5.986 5.986 0 01-.888-.481l-.274-.192-1.157.391a1 1 0 01-.228.049l-.114.004a1 1 0 01-.844-.5l-1.18-2.044a1 1 0 01.206-1.251l.916-.807a6.066 6.066 0 010-1.34l-.916-.807a1 1 0 01-.206-1.25l1.18-2.045a1 1 0 01.731-.491l.113-.009a.998.998 0 01.342.053l1.157.39A5.994 5.994 0 015.6 2.5l.24-1.195A1 1 0 016.82.5h2.36zM8.77 2H7.23l-.159.793a1.5 1.5 0 01-.74 1.016l-.13.065a4.454 4.454 0 00-.872.504 1.5 1.5 0 01-1.215.258l-.157-.043-.768-.261-.77 1.335.609.536c.326.288.51.7.509 1.13l-.01.162a4.566 4.566 0 000 1.01 1.5 1.5 0 01-.383 1.178l-.116.114-.61.535.77 1.335.77-.26a1.5 1.5 0 011.235.126l.136.09c.271.2.563.369.872.503a1.5 1.5 0 01.834.939l.036.142.159.793h1.54l.16-.795a1.5 1.5 0 01.74-1.014l.13-.065c.308-.135.6-.304.87-.504a1.5 1.5 0 011.216-.258l.157.043.768.26.77-1.335-.608-.534a1.5 1.5 0 01-.51-1.13l.01-.163a4.566 4.566 0 000-1.01 1.5 1.5 0 01.384-1.18l.116-.113.608-.535-.77-1.335-.768.26a1.5 1.5 0 01-1.236-.125l-.136-.09c-.27-.2-.563-.368-.87-.503a1.5 1.5 0 01-.835-.937l-.036-.142L8.77 2zM8 5a3 3 0 110 6 3 3 0 010-6zm0 1.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z" fill-rule="nonzero"></path>
//       </g>
//     </svg>
//   )
// }
export const Settings = (
  <svg
    data-testid="gear-prism-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 16 16"
    className="sc-qamJO dDtmkd"
  >
    <g fill="currentColor" fill-rule="evenodd">
      <path
        d="M9.18.5a1 1 0 01.98.804L10.4 2.5c.414.18.804.406 1.162.672l1.157-.391a1 1 0 011.186.447l1.18 2.044a1 1 0 01-.206 1.251l-.916.806a6.066 6.066 0 010 1.342l.916.806a1 1 0 01.206 1.25l-1.18 2.045a1 1 0 01-1.186.447l-1.157-.39a5.994 5.994 0 01-1.161.671l-.24 1.196a1 1 0 01-.98.804H6.82a1 1 0 01-.98-.804l-.24-1.195a5.994 5.994 0 01-1.162-.673l-1.157.391a1 1 0 01-1.186-.447l-1.18-2.044a1 1 0 01.206-1.251l.916-.807a6.066 6.066 0 010-1.34l-.916-.807a1 1 0 01-.206-1.25l1.18-2.045A1 1 0 013.28 2.78l1.157.39A5.994 5.994 0 015.6 2.5l.24-1.195A1 1 0 016.82.5h2.36zM8 6.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"
        fill-opacity="0.15"
      ></path>
      <path
        d="M9.18.5a1 1 0 01.98.804L10.4 2.5c.414.18.804.406 1.162.672l1.157-.391a1 1 0 01.228-.049l.114-.004a1 1 0 01.844.5l1.18 2.044a1 1 0 01-.206 1.251l-.916.806a6.066 6.066 0 010 1.342l.916.806a1 1 0 01.206 1.25l-1.18 2.045a1 1 0 01-.731.491l-.113.009a.998.998 0 01-.342-.053l-1.157-.39a5.994 5.994 0 01-1.161.671l-.24 1.196a1 1 0 01-.98.804H6.82a1 1 0 01-.98-.804l-.24-1.195a5.986 5.986 0 01-.888-.481l-.274-.192-1.157.391a1 1 0 01-.228.049l-.114.004a1 1 0 01-.844-.5l-1.18-2.044a1 1 0 01.206-1.251l.916-.807a6.066 6.066 0 010-1.34l-.916-.807a1 1 0 01-.206-1.25l1.18-2.045a1 1 0 01.731-.491l.113-.009a.998.998 0 01.342.053l1.157.39A5.994 5.994 0 015.6 2.5l.24-1.195A1 1 0 016.82.5h2.36zM8.77 2H7.23l-.159.793a1.5 1.5 0 01-.74 1.016l-.13.065a4.454 4.454 0 00-.872.504 1.5 1.5 0 01-1.215.258l-.157-.043-.768-.261-.77 1.335.609.536c.326.288.51.7.509 1.13l-.01.162a4.566 4.566 0 000 1.01 1.5 1.5 0 01-.383 1.178l-.116.114-.61.535.77 1.335.77-.26a1.5 1.5 0 011.235.126l.136.09c.271.2.563.369.872.503a1.5 1.5 0 01.834.939l.036.142.159.793h1.54l.16-.795a1.5 1.5 0 01.74-1.014l.13-.065c.308-.135.6-.304.87-.504a1.5 1.5 0 011.216-.258l.157.043.768.26.77-1.335-.608-.534a1.5 1.5 0 01-.51-1.13l.01-.163a4.566 4.566 0 000-1.01 1.5 1.5 0 01.384-1.18l.116-.113.608-.535-.77-1.335-.768.26a1.5 1.5 0 01-1.236-.125l-.136-.09c-.27-.2-.563-.368-.87-.503a1.5 1.5 0 01-.835-.937l-.036-.142L8.77 2zM8 5a3 3 0 110 6 3 3 0 010-6zm0 1.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"
        fill-rule="nonzero"
      ></path>
    </g>
  </svg>
)

/** 网格视图 */
export const ViewAsGrid: FC = () => {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <g
        fill="none"
        fill-rule="evenodd"
        stroke="currentColor"
        stroke-width="1.5"
      >
        <rect x="4.75" y="4.75" width="5.5" height="5.5" rx="1.5"></rect>
        <rect x="13.75" y="4.75" width="5.5" height="5.5" rx="1.5"></rect>
        <rect x="4.75" y="13.75" width="5.5" height="5.5" rx="1.5"></rect>
        <rect x="13.75" y="13.75" width="5.5" height="5.5" rx="1.5"></rect>
      </g>
    </svg>
  )
}

/** 列表视图 */
export const ViewAsList: FC = () => {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <g fill="none" fill-rule="evenodd">
        <path
          stroke="currentColor"
          stroke-width="1.5"
          stroke-linecap="round"
          stroke-linejoin="round"
          d="M10 5.75h9m-9 6h9"
        ></path>
        <circle fill="currentColor" cx="5.75" cy="5.75" r="1.25"></circle>
        <circle fill="currentColor" cx="5.75" cy="11.75" r="1.25"></circle>
        <path
          stroke="currentColor"
          stroke-width="1.5"
          stroke-linecap="round"
          stroke-linejoin="round"
          d="M10 17.75h9"
        ></path>
        <circle fill="currentColor" cx="5.75" cy="17.75" r="1.25"></circle>
      </g>
    </svg>
  )
}

/** 操作日志 */
// export const OperationLog: FC = () => {
//   return (
//     <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="16" height="16">
//       <path
//         d="M663.5008 838.8096H197.4784c-53.0432 0-96.1024-43.008-96.1024-96.1024V159.3856c0-53.0432 43.008-96.1024 96.1024-96.1024h466.0224c53.0432 0 96.1024 43.008 96.1024 96.1024v583.3728c-0.0512 53.0432-43.0592 96.0512-96.1024 96.0512z"
//         fill="#FFD05C"></path>
//       <path
//         d="M830.5664 970.0864H364.544c-53.0432 0-96.1024-43.008-96.1024-96.1024V290.6112C268.4416 237.568 311.4496 194.56 364.544 194.56h466.0224c53.0432 0 96.1024 43.008 96.1024 96.1024V873.984c0 53.0432-43.0592 96.1024-96.1024 96.1024z"
//         fill="#FFD05C"></path>
//       <path
//         d="M365.8752 194.56c-53.8112 0-97.4336 43.6224-97.4336 97.4336v546.816h393.6768c53.8112 0 97.4336-43.6224 97.4336-97.4336V194.56H365.8752z"
//         fill="#FCA235"></path>
//       <path
//         d="M692.9408 485.0688H430.4896c-22.6304 0-40.96-18.3296-40.96-40.96s18.3296-40.96 40.96-40.96h262.5024c22.6304 0 40.96 18.3296 40.96 40.96s-18.3808 40.96-41.0112 40.96zM578.6112 661.0432H430.4896c-22.6304 0-40.96-18.3296-40.96-40.96s18.3296-40.96 40.96-40.96h148.1216c22.6304 0 40.96 18.3296 40.96 40.96s-18.3296 40.96-40.96 40.96z"
//         fill="#FFFFFF"></path>
//     </svg>
//   )
// }

export const Tools = (
  <svg
    viewBox="0 0 1024 1024"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    width="16"
    height="16"
  >
    <path
      d="M930.909091 1024H93.090909c-51.2 0-93.090909-41.890909-93.090909-93.090909V279.272727c0-51.2 41.890909-93.090909 93.090909-93.090909h837.818182c51.2 0 93.090909 41.890909 93.090909 93.090909v651.636364c0 51.2-41.890909 93.090909-93.090909 93.090909zM139.636364 930.909091h744.727272c27.927273 0 46.545455-18.618182 46.545455-46.545455V325.818182c0-27.927273-18.618182-46.545455-46.545455-46.545455H93.090909v605.090909c0 27.927273 18.618182 46.545455 46.545455 46.545455z"
      fill="currentColor"
    ></path>
    <path
      d="M744.727273 279.272727H279.272727V46.545455c0-27.927273 18.618182-46.545455 46.545455-46.545455h372.363636c27.927273 0 46.545455 18.618182 46.545455 46.545455v232.727272zM372.363636 186.181818h279.272728V93.090909H372.363636v93.090909zM46.545455 605.090909h930.90909v93.090909H46.545455z"
      fill="currentColor"
    ></path>
    <path
      d="M400.290909 628.363636h-93.090909v-97.745454c0-27.927273 18.618182-46.545455 46.545455-46.545455s46.545455 18.618182 46.545454 46.545455v97.745454zM716.8 628.363636h-93.090909v-97.745454c0-27.927273 18.618182-46.545455 46.545454-46.545455s46.545455 18.618182 46.545455 46.545455v97.745454z"
      fill="currentColor"
    ></path>
  </svg>
)

export const OperationLog = (
  <svg
    data-testid="my-drafts-prism-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 16 16"
    className="sc-qamJO dDtmkd"
  >
    <g fill="currentColor" fill-rule="evenodd">
      <path
        d="M14.25 6.25v-2.5a2 2 0 00-2-2h-8.5a2 2 0 00-2 2v2.5h12.5z"
        fill-opacity="0.15"
      ></path>
      <path
        d="M15 12.25A2.75 2.75 0 0112.25 15h-8.5A2.75 2.75 0 011 12.25v-8.5A2.75 2.75 0 013.75 1h8.5A2.75 2.75 0 0115 3.75zM13.5 7h-11v5.25c0 .647.492 1.18 1.122 1.244l.128.006h8.5c.69 0 1.25-.56 1.25-1.25V7zm-1.25-4.5h-8.5l-.128.006A1.25 1.25 0 002.5 3.75V5.5h11V3.75c0-.69-.56-1.25-1.25-1.25z"
        fill-rule="nonzero"
      ></path>
      <path
        d="M6 7v1h7.5v1.5H6V11h7.5v1.5H6v1H4.5v-1h-2V11h2V9.5h-2V8h2V7H6z"
        fill-rule="nonzero"
        opacity="0.3"
      ></path>
    </g>
  </svg>
)
// export const OperationLog: FC = () => {
//   return (
//     <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="36663" width="16" height="16">
//       <path d="M768 192H256v64h512zM576 384H256v64h320zM448 576H256v64h192z" p-id="36664" fill="currentColor"></path>
//       <path d="M832 576h64V64H128v896h320v-64H192V128h640z" p-id="36665" fill="currentColor"></path>
//       <path d="M637.8 960H502V824.2L760.3 566 896 701.7 637.8 960zM566 896h45.3l194.3-194.3-45.3-45.3L566 850.7V896z" p-id="36666" fill="currentColor"></path>
//     </svg>
//   )
// }

/** 用户管理 */
export const UserManagement = (
  <svg
    data-testid="at-email-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 16 16"
    className="sc-qamJO dDtmkd"
  >
    <g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="1.5">
      <circle cx="8" cy="8" r="3"></circle>
      <path d="M14.5 8a6.5 6.5 0 10-2.566 5.174" stroke-linecap="round"></path>
      <path d="M14.5 8v.333c0 .92-.784 1.667-1.75 1.667S11 9.254 11 8.333V8"></path>
    </g>
  </svg>
)

/** 删除(垃圾桶) */
export const Trash = (
  <svg
    data-testid="trash-empty-prism-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 16 16"
    className="sc-qamJO dDtmkd"
  >
    <g fill="currentColor" fill-rule="evenodd">
      <path
        d="M9.25 1a1.75 1.75 0 011.744 1.606L11 2.75l-.001.25h3.251a.75.75 0 01.102 1.493l-.102.007h-.768l-.172 7.257c-.022.913-.122 1.378-.39 1.86a2.56 2.56 0 01-1.062 1.038c-.444.233-.871.328-1.631.343L9.988 15H6.012c-.914 0-1.381-.089-1.87-.345a2.565 2.565 0 01-1.062-1.037c-.244-.439-.348-.863-.382-1.623l-.008-.238L2.517 4.5H1.75a.75.75 0 01-.102-1.493L1.75 3h3.249L5 2.75a1.75 1.75 0 011.606-1.744L6.75 1h2.5zm2.732 3.5H4.017l.173 7.221.013.335.02.26c.031.268.083.42.168.574.106.19.254.335.448.437.2.105.395.154.838.168l.335.005h3.976l.335-.005c.443-.014.638-.063.838-.168.194-.102.342-.246.448-.437a1.4 1.4 0 00.167-.574l.021-.26.013-.335.172-7.221zM6.979 6.325l.017.1.5 5a.75.75 0 01-1.475.25l-.017-.1-.5-5a.75.75 0 011.475-.25zm2.744-.575l.102.004a.75.75 0 01.675.719l-.004.102-.5 5a.75.75 0 01-1.496-.048l.004-.102.5-5a.75.75 0 01.719-.675zM9.25 2.5h-2.5a.25.25 0 00-.243.193L6.5 2.75 6.499 3h3l.001-.25a.25.25 0 00-.193-.243L9.25 2.5z"
        fill-rule="nonzero"
      ></path>
      <path
        d="M3.25 3.75h9.5l-.19 7.989c-.021.879-.118 1.196-.295 1.515a1.816 1.816 0 01-.755.737c-.323.17-.642.259-1.522.259H6.012c-.88 0-1.199-.09-1.522-.259a1.816 1.816 0 01-.755-.737c-.177-.32-.274-.636-.295-1.515L3.25 3.75z"
        fill-opacity="0.15"
      ></path>
    </g>
  </svg>
)

/** 静态文件 */
export const StaticFiles = (
  <svg
    data-testid="documents-prism-16"
    xmlns="http://www.w3.org/2000/svg"
    viewBox="0 0 16 16"
    className="sc-qamJO dDtmkd"
  >
    <g fill="currentColor" fill-rule="evenodd">
      <path
        d="M12.75.5h-7A1.75 1.75 0 004 2.25V4.5h1.922c.331 0 .649.132.883.366l3.329 3.329c.234.234.366.552.366.883V13h2.25a1.75 1.75 0 001.75-1.75v-9A1.75 1.75 0 0012.75.5zm-7 1.5h7a.25.25 0 01.25.25v9l-.007.057a.25.25 0 01-.243.193H12V9.078c0-.729-.29-1.428-.805-1.944L7.866 3.805l-.145-.135a2.75 2.75 0 00-1.8-.67H5.5v-.75A.25.25 0 015.75 2z"
        fill-rule="nonzero"
      ></path>
      <path
        d="M13.75 11.25v-9a1 1 0 00-1-1h-7a1 1 0 00-1 1v1.5h1.172a2 2 0 011.414.586l3.328 3.328a2 2 0 01.586 1.414v3.172h1.5a1 1 0 001-1z"
        fill-opacity="0.15"
      ></path>
      <path
        d="M5.75 3h-2.5A1.75 1.75 0 001.5 4.75v9c0 .966.784 1.75 1.75 1.75h7A1.75 1.75 0 0012 13.75v-4.5a1.75 1.75 0 00-1.75-1.75h-2.5a.25.25 0 01-.25-.25v-2.5A1.75 1.75 0 005.75 3zm-2.5 1.5h2.5a.25.25 0 01.25.25v2.5C6 8.216 6.784 9 7.75 9h2.5a.25.25 0 01.25.25v4.5a.25.25 0 01-.25.25h-7a.25.25 0 01-.25-.25v-9a.25.25 0 01.25-.25z"
        fill-rule="nonzero"
      ></path>
    </g>
  </svg>
)
// export const StaticFiles: FC = () => {
//   return (
//     <svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="43315" width="16" height="16">
//       <path d="M380.05 510.62h63.116v103.353c0 18.976 15.476 34.451 34.451 34.451h68.9c18.976 0 34.452-15.475 34.452-34.45V510.62h62.511c22.203 0 26.644-3.632 7.603-23.012L546.586 383.18c-35.122-34.856-34.651-35.023-69.642 0L372.582 487.608c-19.378 19.38-12.851 23.012 7.468 23.012z" p-id="43316" fill="currentColor"></path>
//       <path d="M856.508 219.169H443.099c0-57.059-46.293-103.352-103.352-103.352H167.492c-57.06 0-103.352 46.293-103.352 103.352v585.664c0 57.058 46.293 103.35 103.352 103.35h689.015c57.06 0 103.352-46.292 103.352-103.35v-482.31c0-57.061-46.293-103.354-103.351-103.354z m34.451 585.663c0 19.007-15.442 34.451-34.451 34.451H167.492c-19.008 0-34.448-15.444-34.448-34.45v-482.31c0-19.01 15.44-34.452 34.448-34.452h689.015c19.009 0 34.451 15.442 34.451 34.452v482.31z" p-id="43317" fill="currentColor"></path>
//       <path d="M649.804 667.029c0 19.008-15.443 34.45-34.45 34.45H408.65c-19.01 0-34.451-15.442-34.451-34.45v-34.452h-68.903v34.452c0 57.058 46.293 103.352 103.354 103.352h206.703c57.06 0 103.352-46.294 103.352-103.352v-34.452h-68.901v34.452z" p-id="43318" fill="currentColor"></path>
//     </svg>
//   )
// }

/** 个人设置 */
export const Account: FC = () => {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
      <g fill="currentColor">
        <path
          d="M8 8.5c3.59 0 6.5 2.374 6.5 5.303 0 2.93-13 2.93-13 0C1.5 10.874 4.41 8.5 8 8.5zM8 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7z"
          fill-opacity="0.15"
        ></path>
        <path d="M8 8.5c3.59 0 6.5 2.374 6.5 5.303 0 2.93-13 2.93-13 0 0-2.862 2.78-5.195 6.256-5.3L8 8.5zM8 10c-2.66 0-4.749 1.58-4.979 3.459l-.013.141.055.038c.16.103.401.212.708.315l.192.061c1.03.31 2.497.486 4.037.486s3.007-.176 4.037-.486c.4-.12.707-.252.9-.376l.054-.038-.012-.141c-.223-1.822-2.194-3.363-4.739-3.455L8 10zM8 0a3.5 3.5 0 01.192 6.995L8 7A3.5 3.5 0 017.808.005L8 0zm0 1.5a2 2 0 100 4 2 2 0 000-4z"></path>
      </g>
    </svg>
  )
}

/** 退出登录 */
export const Signout: FC = () => {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
      <g
        fill="none"
        fill-rule="evenodd"
        stroke="currentColor"
        stroke-width="1.5"
      >
        <path
          stroke-linejoin="round"
          d="M3.75 5.25v-1.5a2 2 0 012-2h5.5a2 2 0 012 2v8.5a2 2 0 01-2 2h-5.5a2 2 0 01-2-2v-2"
        ></path>
        <g stroke-linecap="round">
          <path d="M1.75 7.75h7"></path>
          <path stroke-linejoin="round" d="M7.25 5.25l2.5 2.5-2.5 2.5"></path>
        </g>
      </g>
    </svg>
  )
}

/** 加载中 */
export const Loading: FC = () => {
  return (
    <span className={css.span}>
      <svg
        viewBox="0 0 1024 1024"
        focusable="false"
        width="16"
        height="16"
        fill="currentColor"
        aria-hidden="true"
      >
        <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"></path>
      </svg>
    </span>
  )
}

/** 向右的三角 */
export const CaretRight: FC = () => {
  return (
    <svg
      viewBox="0 0 1024 1024"
      focusable="false"
      width="16"
      height="16"
      fill="currentColor"
      aria-hidden="true"
    >
      <path d="M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"></path>
    </svg>
  )
}

/** 图标通用 */
export const Icon: FC<{ icon: string | ReactNode }> = ({ icon }) => {
  return typeof icon === 'string' ? <img src={icon} /> : icon
}

/** 加号、添加 */
export const Plus: FC = () => {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 0 16 16"
      width="16"
      height="16"
    >
      <g
        id="16x16/Filled/Plus"
        stroke="none"
        stroke-width="1"
        fill="none"
        fill-rule="evenodd"
      >
        <path
          d="M8.25 2a.75.75 0 01.75.75V7.5h4.75a.75.75 0 110 1.5H9v4.75a.75.75 0 11-1.5 0V8.999L2.75 9a.75.75 0 010-1.5l4.75-.001V2.75A.75.75 0 018.25 2z"
          id="plus"
          fill="currentColor"
          fill-rule="nonzero"
        ></path>
      </g>
    </svg>
  )
}

export const ArrowDown = (
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
    <script xmlns="" />
    <g
      id="chevron-vertical-16"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <path
        d="M3.28 5.47a.75.75 0 00-1.06 1.06l5.25 5.25a.75.75 0 001.06 0l5.25-5.25a.75.75 0 00-1.06-1.06L8 10.19 3.28 5.47z"
        id="chevron"
        fill="currentColor"
        fill-rule="nonzero"
      />
    </g>
    <script xmlns="" />
  </svg>
)

export const Forum = (
  <svg
    t="1721888492539"
    class="icon"
    viewBox="0 0 1024 1024"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    p-id="1559"
    width="200"
    height="200"
  >
    <path
      d="M790.7328 242.944h-21.76c-14.4896-42.5472-54.7328-73.216-102.1952-73.216H197.3248c-59.6992 0-108.032 48.384-108.032 108.032v312.1152c0 54.8864 44.4928 99.328 99.328 99.328 28.416 0 51.5072 23.04 51.5072 51.5072v25.5488c0 35.072 41.728 53.4016 67.5328 29.6448l101.2224-93.0816c9.5232-8.7552 21.9648-13.6192 34.8672-13.6192h223.0272c59.6992 0 108.032-48.384 108.032-108.032V327.6288h15.872c32.1536 0 58.2656 26.1632 58.2656 58.2656v290.6624c0 27.648-22.528 50.176-50.176 50.176-49.8176 0-90.3168 40.4992-90.3168 90.3168v12.7488l-86.1184-79.2064c-16.6912-15.36-38.4512-23.8592-61.1328-23.8592H450.7136c-23.3472 0-42.3424 18.9952-42.3424 42.3424s18.9952 42.3424 42.3424 42.3424h110.4896c1.3824 0 2.7648 0.512 3.7888 1.4848l94.2592 86.6816c14.8992 13.6704 33.9968 21.248 53.76 21.248 11.1104 0 22.016-2.304 32.4096-6.8608 29.4912-12.9024 47.7696-40.96 47.7696-73.1136v-23.808c0-3.072 2.5088-5.5808 5.5808-5.5808 74.3936 0 134.912-60.5184 134.912-134.8608V385.9456c0.0512-78.8992-64.1024-143.0016-142.9504-143.0016z m-277.6576 309.8624h-239.104c-21.8624 0-39.6288-17.7152-39.6288-39.6288s17.7152-39.6288 39.6288-39.6288h239.104c21.8624 0 39.6288 17.7152 39.6288 39.6288s-17.7664 39.6288-39.6288 39.6288z m80.1792-154.5216H273.9712a39.6288 39.6288 0 0 1-39.6288-39.6288 39.6288 39.6288 0 0 1 39.6288-39.6288h319.2832a39.6288 39.6288 0 1 1 0 79.2576z"
      fill="#FC7032"
      p-id="1560"
    ></path>
    <path
      d="M622.3872 750.592c-16.6912-15.36-38.4512-23.8592-61.1328-23.8592H450.7136c-23.3472 0-42.3424 18.9952-42.3424 42.3424 0 21.0432 15.4624 38.5024 35.6352 41.7792a578.304 578.304 0 0 0 178.688-60.0064l-0.3072-0.256z"
      fill="#FF7E3E"
      p-id="1561"
    ></path>
    <path
      d="M923.8016 333.6704c-20.8896-53.0944-72.6528-90.7264-133.0688-90.7264h-21.76c-14.4896-42.5472-54.7328-73.216-102.1952-73.216H197.3248c-59.6992 0-108.032 48.384-108.032 108.032v312.1152c0 54.8864 44.4928 99.328 99.328 99.328 28.416 0 51.5072 23.04 51.5072 51.5072v25.5488c0 35.072 41.728 53.4016 67.5328 29.6448l101.2224-93.0816c9.5232-8.7552 21.9648-13.6192 34.8672-13.6192h223.0272c59.6992 0 108.032-48.384 108.032-108.032V327.6288h15.872c32.1536 0 58.2656 26.1632 58.2656 58.2656v150.3744c36.8128-61.0816 62.6176-129.536 74.8544-202.5984z m-410.7264 219.136h-239.104c-21.8624 0-39.6288-17.7152-39.6288-39.6288s17.7152-39.6288 39.6288-39.6288h239.104c21.8624 0 39.6288 17.7152 39.6288 39.6288s-17.7664 39.6288-39.6288 39.6288z m80.1792-154.5216H273.9712a39.6288 39.6288 0 0 1-39.6288-39.6288 39.6288 39.6288 0 0 1 39.6288-39.6288h319.2832a39.6288 39.6288 0 1 1 0 79.2576z"
      fill="#FF7E3E"
      p-id="1562"
    ></path>
    <path
      d="M447.2832 552.8064H273.9712c-21.8624 0-39.6288-17.7152-39.6288-39.6288s17.7152-39.6288 39.6288-39.6288h239.104c13.7728 0 25.9072 7.0656 33.024 17.7152 93.2864-71.936 164.1472-171.52 200.192-286.5664-19.712-21.5552-47.9744-35.1232-79.5136-35.1232H197.3248c-59.6992 0-108.032 48.384-108.032 108.032v312.1152c0 4.5056 0.4096 8.96 0.9728 13.312 32.9216 5.7856 66.7648 8.8064 101.2736 8.8064 91.8016 0.1536 178.5856-21.1456 255.744-59.0336zM273.9712 319.0784h319.2832a39.6288 39.6288 0 0 1 39.6288 39.6288 39.6288 39.6288 0 0 1-39.6288 39.6288H273.9712a39.6288 39.6288 0 0 1-39.6288-39.6288 39.6288 39.6288 0 0 1 39.6288-39.6288z"
      fill="#FF9552"
      p-id="1563"
    ></path>
    <path
      d="M237.3632 373.8112c-1.9456-4.6592-3.0208-9.7792-3.0208-15.104a39.6288 39.6288 0 0 1 39.6288-39.6288h77.7216a585.20064 585.20064 0 0 0 161.7408-149.3504H197.3248c-59.6992 0-108.032 48.384-108.032 108.032v126.8736c51.5072-3.84 101.1712-14.4384 148.0704-30.8224z"
      fill="#FFA56A"
      p-id="1564"
    ></path>
  </svg>
)
